package com.jy.adscm.operation;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author yyy
 * @ClassName JyAdscmOperationApplication
 * @Description TODO
 * @date 2018/11/23 10:19
 */
@SpringBootApplication()
@EnableAspectJAutoProxy
@EnableCaching //开启基于注解的缓存
@ComponentScan(basePackages = {"com.jy.adscm.**"})
@EnableScheduling
public class JyAdscmOperationApplication {
    public static void main(String[] args) {
        SpringApplication.run(JyAdscmOperationApplication.class);
    }
}
